package net.csdn.business.common.domain.request.oauth;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;

/**
* personalToken信息表;
* @author : duweiwei
* @date : 2022-12-12
*/
@Data
@NoArgsConstructor
@AllArgsConstructor
public class UpdatePersonalTokenDeleteDTO implements Serializable,Cloneable{

   /** 分布式id */
   @NotNull(message="tokenId 不合法")
   private String tokenId ;

   @NotNull
   @Range(min = 0, max = 1, message = "isDelete 不合法")
   /** 是否撤销 0-否;1-是 */
   private Integer isDelete ;

}